const routes = [
  {
    path: '/user',
    name: 'LayoutContainer', //代码的跳转
    component: () => import('@/views/user/layout/LayoutContainer.vue'),
    redirect: '/home',
    children: [
      {
        path: '/home',
        component: () => import('@/views/user/home/homeMenage.vue')
      },
      {
        path: '/landparcel',
        component: () => import('@/views/user/landparcel/landParcelMenage.vue')
      },
      {
        path: '/landresource',
        component: () =>
          import('@/views/user/landresource/landResourceMenage.vue')
      },
      {
        path: '/vegetableplot',
        component: () =>
          import('@/views/user/vegetableplot/vegetablePlotManage.vue')
      },
      {
        path: '/plantingoutput',
        component: () =>
          import('@/views/user/plantingoutput/plantingOutputManage.vue')
      },
      {
        path: '/plantingcost',
        component: () =>
          import('@/views/user/plantingcost/plantingCostManage.vue')
      },
      {
        path: '/ai',
        component: () => import('@/views/user/ai/aiManage.vue')
      },
      {
        path: '/notedetails/:id',
        component: () =>
          import('@/views/user/notedetails/notedetailsManage.vue')
      },
      {
        path: '/userinfo',
        component: () => import('@/views/user/userinfo/ProfileManage.vue')
      },
      {
        path: '/useravatar',
        component: () => import('@/views/user/userinfo/useravatarManage.vue')
      },
      {
        path: '/userpassword',
        component: () => import('@/views/user/userinfo/passwordManage.vue')
      },
      {
        path: '/userreview',
        component: () => import('@/views/user/userreviewinfo/reviewdManage.vue')
      },
      {
        path: '/costincome',
        component: () =>
          import('@/views/user/vegetableplot/costincomeManage.vue')
      }
    ]
  }
]
export default routes
